package com.ynet.middleground.user.dao;

import com.ynet.middleground.user.bean.QueryNaturalPersonReq;
import com.ynet.middleground.user.dto.NaturalPersonDto;
import com.ynet.middleground.user.entity.NaturalPersonBaseInformation;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 自然人基本信息表 Mapper 接口
 * </p>
 *
 * @author DaiGaoLe
 * @since 2019-10-21
 */
public interface NaturalPersonBaseInformationMapper extends BaseMapper<NaturalPersonBaseInformation> {

    List<NaturalPersonDto> queryNaturalPersonList(@Param("queryNaturalPersonReq") QueryNaturalPersonReq requestObject);

    long queryNaturalPersonListCounts(@Param("queryNaturalPersonReq") QueryNaturalPersonReq requestObject);

}
